﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace _8_21_Homework.Models
{
    public class User
    {
        public string Name { get; set; }
        public int ID { get; set; }
        public User() { }
        protected static int NextID = 0;
        public User(string name)
        {
            Name = name;
            ID = NextID;
            NextID++;
        }
    }
}